﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SignalLab.BaseLibrary;
using System.Collections.ObjectModel;

namespace SignalLab
{
  public class AnalyserViewModel : ViewModelBase
  {
    public int Gain
    {
      get { return _Gain; }
      set
      {
        if (_Gain != value)
        {
          _Gain = value;
          RaisePropertyChanged("Gain");
        }
      }
    }
    private int _Gain;

    public bool IsRecording
    {
      get { return _IsRecording; }
      set
      {
        if (_IsRecording != value)
        {
          _IsRecording = value;
          RaisePropertyChanged("IsRecording");
        }
      }
    }
    private bool _IsRecording;

    
    

    public ObservableCollection<RealtimePropertyBase> Properties { get; private set; }

    public AnalyserViewModel()
    {
      Properties = new ObservableCollection<RealtimePropertyBase>();
    }
  }
}
